import request from '@/utils/request'

export function getComments(data) {
  return request({
    url: '/comment/page',
    method: 'get',
    params: data
  })
}

export function saveComment(data) {
  return request({
    url: '/comment/i/save',
    method: 'post',
    data
  })
}
